package pay

type PayType int
type PayMethodType int

const (
	PayTypeAlipay         PayType = 1 // 支付宝
	PayTypeWechat         PayType = 2 // 微信
	PayTypeBankCard       PayType = 3 // 银行卡
	PayTypeHuabei         PayType = 4 // 花呗
	PayTypeCreditToAlipay PayType = 5 // 信用卡支付宝
	PayTypeCreditToWechat PayType = 6 // 信用卡微信
	PayTypeAlipayAuto     PayType = 7 // 支付宝自助
	PayTypeWechatAuto     PayType = 8 // 微信自助
	PayTypeBankCardAuto   PayType = 9 // 银行卡自助
)

type ReceiptAddress struct {
	ID          int           `json:"id"`
	PayType     PayType       `json:"pay_type"`
	PayMethod   PayMethodType `json:"pay_method"`
	AutoArrival bool          `json:"auto_arrival"`
}

type Quota struct {
	Amount     int64  `json:"amount"`
	RealAmount int64  `json:"real_amount"`
	QrCode     string `json:"qr_code"`
}

type RechargeOrder struct {
	ID               uint64  `json:"id"`
	ReceiptAddressID int     `json:"receipt_address_id"`
	PayType          PayType `json:"pay_type"`
	RealAmount       int64   `json:"real_amount"`
}

type AgencyInfo struct {
	ID       uint64 `json:"id"`
	Avatar   string `json:"avatar"`
	Nickname string `json:"nickname""`
	Prologue string `json:"prologue"`
}

type CheckBlacklist struct {
	IsBlacklist bool `json:"is_blacklist"`
}

type PlayerInfo struct {
	ID                uint64 `json:"id"`
	Level             int    `json:"level"`
	SuccessOrderCount int    `json:"success_order_count"`
	IsBlacklist       bool   `json:"is_blacklist"`
}

type QuickReply struct {
	ID      uint64 `json:"id"`
	Title   string `json:"title"`
	Content string `json:"content"`
}

type ComplainResp struct {
	ID      uint64 `json:"id"`
	MESSAGE string `json:"message"`
}
